
/*
* @ author: karim daher
* @ date: 04-28-2008
* @version: 0.1
 */

class Question extends Comment{
    def static  STATUS_DELETED    = -1
    def static  STATUS_PENDDING   = 0
    def static  STATUS_ANSWERED   = 1
    def static  STATUS_DECLINED   = 2

    Person    requester
    Person    requested
    Integer   status

    static constraints = {
        requested(nullable:true)
    }

}